package com.turbo.cloud.core.config;

import com.turbo.cloud.core.log.LogInterceptAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 切面配置类
 *
 * @author yangbing
 */
@Configuration
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class AspectConfiguration {

    @Bean
    public LogInterceptAspect logAspect() {
        return new LogInterceptAspect();
    }
}
